using System.Text.Json.Serialization;
using JlPay.Sdk.Models;

namespace JlPay.Sdk.Models.Trans.Refunds
{
    /// <summary>
    /// 退款查询响应
    /// </summary>
    public class RefundsQueryResponse : StandardResponse
    {
        /// <summary>
        /// 状态 1：待确认 2：成功 3：失败
        /// </summary>
        [JsonPropertyName("status")]
        public string? Status { get; set; }

        /// <summary>
        /// 商户号
        /// </summary>
        [JsonPropertyName("mch_id")]
        public string? MchId { get; set; }

        /// <summary>
        /// 平台订单号
        /// </summary>
        [JsonPropertyName("transaction_id")]
        public string? TransactionId { get; set; }

        /// <summary>
        /// 外部订单号
        /// </summary>
        [JsonPropertyName("out_trade_no")]
        public string? OutTradeNo { get; set; }

        /// <summary>
        /// 渠道订单号
        /// </summary>
        [JsonPropertyName("chn_transaction_id")]
        public string? ChnTransactionId { get; set; }

        /// <summary>
        /// 原外部订单号
        /// </summary>
        [JsonPropertyName("ori_out_trade_no")]
        public string? OriOutTradeNo { get; set; }

        /// <summary>
        /// 原平台订单号
        /// </summary>
        [JsonPropertyName("ori_transaction_id")]
        public string? OriTransactionId { get; set; }

        /// <summary>
        /// 交易时间
        /// </summary>
        [JsonPropertyName("trans_time")]
        public string? TransTime { get; set; }

        /// <summary>
        /// 退款完成时间
        /// </summary>
        [JsonPropertyName("success_time")]
        public string? SuccessTime { get; set; }
    }
} 